package com.mls.fivedistrict.server;

import com.mls.fivedistrict.common.PageFilter;
import com.mls.fivedistrict.common.ServiceResponse;
import com.mls.fivedistrict.pojo.Integral;

import java.util.List;

/**
 * Created by nanji on 2018/3/20.
 */
public interface IntegralService {
    ServiceResponse addIntergral(Integral integral);

    ServiceResponse editIntegral(Integral integral);

    ServiceResponse getIntegral(Integral integral);

    ServiceResponse getIntegralList(PageFilter pageFilter);

    List<Integral> getIntegralListForTask();

    ServiceResponse getIntegral(Long id);

    ServiceResponse deleteIntegral(Long id);

    Integral getIntegralDetail(Long id);


    List<Integral> getIntegralList();

    List<Integral> getCanRewardIntegralList(PageFilter pageFilter, Long userId);
    List<Integral> getTransferIntegralList(PageFilter pageFilter, Long userId);

    int updateEdtegral(Integral integral);
}
